import request from '@/utils/request'

/**
 * @description: 获取联想建议
 * @param {*} keyword 输入框的关键字
 * @return {*}
 */
export const getSuggestion = keyword => {
  return request({
    method: 'GET',
    url: '/app/v1_0/suggestion',
    params: {
      q: keyword
    }
  })
}
